package com.yellow.courierservice.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yellow.courierservice.entity.DeliveryArea;
import com.yellow.courierservice.mapper.DeliveryAreaMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class DeliveryAreaServiceImpl extends ServiceImpl<DeliveryAreaMapper, DeliveryArea> implements DeliveryAreaService {

    @Resource
    private DeliveryAreaMapper deliveryAreaMapper;
    @Override
    public String getDeliveryAreaByCourierName(String name) {
        return deliveryAreaMapper.getDeliveryAreaByCourierName(name);
    }
}
